package com.ruoyi.tb.lmt.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大机配属业务对象 tb_locomotive
 *
 * @author ruoyi
 * @date 2023-11-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbLocomotiveBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long ID;

    /**
     * 车型
     */
    @NotBlank(message = "车型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lmtType;

    /**
     * 车号
     */
    @NotBlank(message = "车号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lmtNumber;

    /**
     * 出场编号
     */
    private String lmtCode;

    /**
     * 出场年月
     */
    private String madeDate;

    /**
     * 使用日期
     */
    private String userDate;

    /**
     * 制造厂家
     */
    private String madeFactory;

    /**
     * 整车长度
     */
    private String lmtLength;

    /**
     * 大机重量
     */
    private String lmtWeight;

    /**
     * 配属车间id
     */
    private Long workteamId;

    /**
     * 配属车间名称
     */
    private String workteamname;

    /**
     *
     */
    private String workteamtag;

    /**
     *
     */
    private Date psDate;

    /**
     *
     */
    private String repairCode;

    /**
     * 上次修程
     */
    private String lastRepairChar;

    /**
     * 年休日期
     */
    private Date lastRepairDate;

    /**
     *
     */
    private BigDecimal totalWorkQty;

    /**
     *
     */
    private BigDecimal totalKm;

    /**
     *
     */
    private BigDecimal lastRepairWorkQty;

    /**
     *
     */
    private BigDecimal lastRepairKm;

    /**
     *
     */
    private Date workUpdateDate;

    /**
     *
     */
    private Date cxRepairDate;

    /**
     *
     */
    private String cxRepairUnit;

    /**
     *
     */
    private Date qmxRepairDate;

    /**
     *
     */
    private String qmxRepairUnit;

    /**
     *
     */
    private Date njRepairDate;

    /**
     *
     */
    private Date lxRepairDate;

    /**
     *
     */
    private BigDecimal cxRepairWorkQty;

    /**
     *
     */
    private BigDecimal cxRepairKm;

    /**
     *
     */
    private BigDecimal qmxRepairWorkQty;

    /**
     *
     */
    private BigDecimal qmxRepairKm;

    /**
     *
     */
    private BigDecimal njRepairWorkQty;

    /**
     *
     */
    private BigDecimal njRepairKm;

    /**
     *
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    /**
     *
     */
    private Date zdfRepairDate;

    /**
     *
     */
    private Date tsRepairDate;

    /**
     *
     */
    private Date nextPlanRepairDate;

    //长度系数
    private String longFactor;

    private String lmtImgUrl;

    //车身前感应器编码
    private String rfidBzmQ;
    //后感应器编码
    private String rfidBzmH;

    private String workGroup;

    private Long workGroupId;

    private String repairNum;
}
